using System;
using System.Collections.Generic;
using System.Text;

using Peradigm.Framework.Persistence;

namespace Liberty.Domain.ServiceMemberManagement
{
    [Serializable]
    public class Branch : ReferenceValue
    {
        #region Constants
        #endregion

        #region Event Handlers
        #endregion

        #region Methods
        /// <summary>
        /// Creates a stubbed branch populated with frequently used primitives.
        /// Other aggregated objects are not populated by this factory method.
        /// </summary>
        /// <returns></returns>
        public static Branch TestInstance()
        {
            return new Branch( 12L, PersistentModel.NEW_VERSION, "Marines", ReferenceValue.DEFAULT_RANKING, ReferenceValue.DEFAULT_STATUS );
        }
        #endregion 

        #region Properties
        #endregion

        #region Private Methods
        #endregion

        #region Private Properties
        #endregion

        #region Construction and Finalization
        public Branch( string description, long ranking, bool active )
            : base( description, ranking, active )
        {
        }

        public Branch( long oid, byte[] version, string description, long ranking, bool active )
            : base( oid, version, description, ranking, active )
        {
        }
        #endregion

        #region Data Elements
        #endregion

    }//end Branch
}//end namespace ServiceMemberManagement
